package com.upb.webserver.common.pojo.node;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigInteger;

@Data
public class RspNodeVO {
    private String belongOrgName;
    private String nodeId;
    private Integer chainId;
    private Integer applicationId;
    private Integer hostId;
    private Byte type;//0-fisco共识节点 1-fisco游离节点 2-fisco观察节点 3-fabric的peer节点 4-fabric的order节点
    private String ip;
    private Integer port;
    private String name;
    private Byte status;//0-初始化 1-运行 2-停止 3-升级中
    private BigInteger blockHeight;

    //----------------
    //--fisco特有----
    //----------------
    private Integer frontId;
    private Integer groupId;
    private Long pbftView;

    //----------------
    //--fabric特有----
    //----------------
    private Integer channelId;
}
